/** GLOBAL **/
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

body {
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: #444;
  position: relative;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body>section {
  border-bottom: 0.125rem solid #EFEFEF;
}

a {
  text-decoration: none;
  color: #00007F;
}

a:hover {
  color: #0000FF;
}

/** HEADER **/
header {
  min-height: 60px;
  display: flex;
  flex-direction: row;
  background-color: #FFF;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border-bottom: 0.125rem solid #EFEFEF;
  position: sticky;
  top: 0;
  padding: 0 calc((100% - 1200px)/2);
  z-index: 10;
}

header img {
  height: 2.5rem;
  margin: 0 3.75rem 0 1rem;
  vertical-align: middle;
}

header a.icon {
  display: none;
  margin: 0 1.25rem;
  font-size: 1.56rem;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

#happy-birthday {
  position: absolute;
  font-size: 1.25rem;
  font-weight: 300;
  padding: 20px;
  align-self: center;
  text-align: center;
  background-color: white;
  max-width: 50%;
  top: 200px;
}

#happy-birthday button {
  position: absolute;
  background: none;
  border: none;
  top: 5px;
  right: 5px;
  padding: 5px;
}

#happy-birthday img {
  max-width: 100%;
}

#donate {
  background-color: #00007F;
  color: #fff;
  font-weight: 900;
  padding: 0 0.25rem;
}

/** BANNER **/
#banner {
  background-color: #00007F;
  display: grid;
  /* display: none; */
  grid-template-columns: auto 20px;
  grid-auto-rows: auto;
  justify-items: center;
  align-items: center;
  padding: 0 calc((100% - 1200px)/2);
}

#banner a {
  grid-row: 1;
  grid-column: 1;
  padding: 0.5rem;
}

#ffdaysImg {
  height: 2.5rem;
  vertical-align: middle;
}

#banner button {
  grid-row: 1;
  grid-column: 2;
  background-color: transparent;
  border: none;
  justify-self: end;
  margin-right: 1.25rem;
}

#bannerCross {
  height: 20px;
}

#banner button:hover {
  cursor: pointer;
}

#banner button:focus {
  outline: none;
}

/** 404 **/
#four0four {
   flex: 1;
   display: flex;
   flex-direction: column;
   justify-content: stretch;
   align-items: center;
}

#four0four h1 {
   font-size: 3rem;
   line-height: 3rem;
}

/** MAIN (index) **/
#main {
  flex: 1;
  display: flex;
  flex-direction: row;
  background-color: #F7F7F9;
  align-items: stretch;
  justify-content: space-between;
  padding: 1.875rem calc((100% - 1200px)/2);
}

#demo {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 0.125rem solid #EFEFEF;
  width: 70%;
}

#code {
  background-color: #EFEFEF;
  /* height: 31.25rem; */
  overflow-y: auto;
  min-width: 350px;
  font-size: 0.75rem;
}

#code pre {
  margin: 0.625rem;
}

#blank {
  background-color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#blank video {
  width: 100%;
  background-color: white;
}

#intro {
  font-size: 1.25rem;
  font-weight: 300;
  padding-left: 3.75rem;
  align-self: center;
  width: 40%;
}

#intro h1 {
  padding: 0;
  margin: 0;
  font-size: 2.375rem;
}

#intro p {
  line-height: 1.9rem;
}

/** ASIDE **/
aside {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 300;
  color: #00007F;
  text-align: center;
  border-bottom: 0.125rem solid #EFEFEF;
  padding: 0 calc((100% - 1200px)/2);
}

aside i {
  margin: 0.625rem 0.312rem;
  font-size: 1.56rem;
}

#release {
  display: flex;
  justify-content: center;
}

#release strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
}

#download a {
  font-weight: bold;
  color: #FFF;
  background-color: #0000FF;
  padding: 1rem 4.625rem;
  font-size: 2.125rem;
  line-height: 4.625rem;
}

#platforms, #release, #download {
  margin: 1.875rem 0;
  flex: 1 1 0;
}

#platforms p {
  padding: 0;
  margin: 0;
}

aside span {
  display: block;
}

/** CONTENT **/
/* #content {
  text-align: center;
  padding: 0 calc((100% - 1200px)/2);
}

#content article {
  display: flex;
  justify-content: stretch;
  align-items: center;
  padding: 1rem calc((100% - 1200px)/2);
  margin: 1rem calc((100% - 1000px)/2);
  background-color: #F7F7F9;
  text-align: justify;
}

#content .article-img {
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#content img {
  width: 100px;
}

#content .article-text {
  flex: 1;
}

#content article h2 {
  margin: 0.55rem;
}

#content article p {
  padding: 0.55rem;
  line-height: 1.375rem;
}

#content article ul {
  list-style-type: none;
  list-style-image: url("../img/angle-right-solid.svg");
}

#content article.content-left {
  padding-right: 1rem;
  margin-right: calc(75%/2);
}

#content article.content-left h2 {
  text-align: right;
}

#content article.content-right {
  padding-left: 1rem;
  margin-left: calc(75%/2);
}
*/
#content {
  display: grid;
  padding: 3.75rem calc((100% - 1200px)/2);
  column-gap: 2.625rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-row-gap: 0px;
}

#content h1 {
  grid-row: 1;
  grid-column: 1/4;
  font-size: 2.5rem;
  margin: 0 0 1.625rem 0;
}

#content h2 {
  font-size: 1.25rem;
  line-height: 1.25rem;
}

#content article {
  background-color: #F7F7F9;
  padding: 1.25rem;
}

#content ul {
  list-style-type:square;
  padding: 0 15px;
}

#content article p {
  line-height: 1.375rem;
  text-align: justify;
}

#content article p img {
    height: 0.8rem;
}

.content-1 { grid-area: 1 / 1 / 2 / 2; margin-bottom: 2.625em; }
.content-2 { grid-area: 1 / 2 / 2 / 3; margin-bottom: 2.625em;}
.content-3 { grid-area: 2 / 1 / 3 / 2; margin-bottom: 2.625em;}
.content-4 { grid-area: 2 / 2 / 3 / 3; margin-bottom: 2.625em;}

/** ARTICLES **/
#articles {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  padding: 3.75rem calc((100% - 1200px)/2);
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  column-gap: 2.625rem;
}

#articles h1 {
  grid-row: 1;
  grid-column: 1/4;
  font-size: 2.5rem;
  margin: 0 0 1.625rem 0;
}

#articles h2 {
  font-size: 1.25rem;
  line-height: 1.25rem;
}

#articles article {
  background-color: #F7F7F9;
  padding: 1.25rem;

}

#articles article p {
  line-height: 1.375rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 15;
  overflow: hidden;
  text-align: justify;
}

#artFirst, #artSecond, #artThird {
  grid-row: 2;
}

/** INFORMATION **/
#info {
  display: flex;
  flex-direction: row;
  padding: 0 calc((100% - 1200px)/2);
}

#info .event {
  margin-bottom: 1.25rem;
}

/** EVENTS **/
#events {
  display: flex;
  flex-direction: column;
  background-color: #F7F7F9;
  padding: 1.25rem 3.75rem;
  width: 50%;
}

.event-grid {
  display: grid;
  grid-template-columns: 8rem auto;
  grid-template-rows: 1.875rem auto;
  grid-template-areas: "date title""date description";
  margin-bottom: 15px;
}

#events h1 {
  font-size: 2.5rem;
}

.date {
  grid-area: date;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: right;
  justify-self: end;
  padding-right: 0.625rem;
  word-spacing: 9999rem;
  color: #505D68;
}

.title {
  grid-area: title;
  padding-left: 0.625rem;
  border-left: 0.125rem solid #C8C8C8;
  font-size: 1.25rem;
  font-weight: 300;
  margin: 0;
}

.description {
  grid-area: description;
  margin: 0;
  padding-left: 0.625rem;
  border-left: 0.125rem solid #C8C8C8;
  font-weight: 300;
}

/** TEAM **/
#team {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 3.75rem;
  width: 50%;
}

#team h1 {
  text-align: center;
  font-size: 2.5rem;
}

#team div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#team img {
  height: 5rem;
  margin: 1rem;
}

/** FOOTER **/
footer {
  display: flex;
  min-height: 3.75rem;
  font-size: 1.25rem;
  padding: 0 calc((100% - 1200px)/2);
}

footer i {
  color: #FF699B;
  font-size: 1.1rem;
}

footer img {
  height: 2.5rem;
  width: 2.5rem;
  align-self: center;
}

footer p, footer a, footer span {
  align-self: center;
  flex: 1 1 0;
  text-align: center;
  margin: 1.125rem 0;
}

/** SCROLLBAR DESIGN **/
body::-webkit-scrollbar {
  width: .55rem;
}

::-webkit-scrollbar {
  width: .27rem;
  height: .27rem;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #0000FF;
}

#old-website {
  margin-right: 1rem;
}

/** GALLERY **/
#galleryMain {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 1;
  max-height: calc(100vh - 60px - 4rem);
}

#galleryTitle {
  width: 40%;
  background-color: #F7F7F9;
  border-right: 2px solid #EFEFEF;
}

#galleryTitle ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: auto;
  line-height: 1.375rem;
}

#galleryTitle ul a {
  display: unset !important;
}

#galleryTitle ul .wrap {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

#galleryTitle ul .wrap div {
  display: none;
}

#galleryTitle li {
  background-color: #FFF;
  border: 0.125rem solid #EFEFEF;
  margin: 1rem 1rem 0 1rem;
  padding: 0.625rem;
}

#galleryTitle li a {
  color: #444;
  font-size: 1.25rem;
  font-weight: 700;
}

#galleryTitle li p a {
  font-size: inherit;
  font-weight: inherit;
}

#galleryTitle li.active {
  display: flex;
  overflow: auto;
  min-height: 5rem;
}

#galleryTitle li.active a {
  color: #00007F;
}

#galleryTitle li a:hover {
  color: #0000FF;
}

#galleryTitle li.active .wrap div {
  display: block;
  overflow: auto;
}

#galleryImg {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto;
  padding-top: 1rem;
}

#galleryImg table {
  max-width: 90%;
  text-align: center;
  padding-bottom: 2rem;
}

#galleryImg tbody {
  font-weight: bold;
}

#galleryImg th {
  padding-bottom: .5rem;
}

#galleryImg img {
  max-width: 90%;
}

/** FREEFEM DAYS **/
#ffdaysMain {
  background-color: #F7F7F9;
  border-bottom: 2px solid #EFEFEF;
  flex: 1 1 auto;
}

#ffdaysTitle {
  text-align: center;
  color: #00007F;
  font-size: 1.2rem;
}

#ffdaysTitle img {
  height: 65px;
  margin: 60px auto 0 auto;
}

#ffdaysDesc, .ffdays-form {
  background-color: #FFF;
  border: 2px solid #EFEFEF;
  width: 60%;
  margin: 20px auto;
  padding: 10px 20px;
  text-align: center;
  line-height: 23px;

}

#ffdaysDesc h2 {
  font-size: 2rem;
  line-height: 2rem;
}

#ffdaysDesc p {
  font-size: 1.2rem;
}

#ffdaysCal {
  display: flex;
  flex-direction: column;
}

#ffdaysCal .days {
  background-color: #FFF;
  border: 2px solid #EFEFEF;
  margin: 20px 60px;
  display: inline-flex;
}

#ffdaysCal .days .day {
  width: 30%;
  border-right: 2px solid #EFEFEF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#ffdaysCal .days .day p, #ffdaysCal .days .day h2 {
  text-align: center;
  margin: 0;
  padding: 0 10px;
  color: #00007F;
}

#ffdaysCal .days .day p:not(:last-child) {
  font-size: 20px;
  line-height: 23px;
}

#ffdaysCal .days .day p:last-child {
  font-style: italic;
  line-height: 19px;
  color: #444 !important;
}

#ffdaysCal .days .day h2 {
  font-size: 80px;
  line-height: 80px;
}

#ffdaysCal .days .program {
  width: 70%;
  padding: 0 60px;
}

#ffdaysCal .days .program h2 {
  font-size: 40px;
  line-height: 40px;
  margin: 20px 0;
  font-weight: 900;
}

#ffdaysCal .days .programTBA {
    margin: 0 auto;
}

#ffdaysCal .days .programTBA h2 {
  font-size: 26px;
  margin: 20px 0;
  padding: 10px;
  text-align: center;
}

#ffdaysCal table {
  border-collapse: collapse;
  margin-bottom: 40px;
}

#ffdaysCal table, #ffdaysCal th, #ffdaysCal td {
  border: 2px solid #EFEFEF;
}

#ffdaysCal th {
  white-space: nowrap;
  text-align: left;
}

#ffdaysCal th, #ffdaysCal td {
  padding: 15px 25px;
}

#ffdaysCal tr:nth-child(even) {
  background-color: #F7F7F9;
}

.OSMap {
  text-align: center !important;
}

#ffdaysMap {
  margin: 20px 60px;
  line-height: 26px;
  font-size: 20px;
}

#ffdaysMap iframe {
  height: 300px;
  width: 100%;
  border: none;
}

#ffdaysMap li {
  list-style-type: none;
  margin: 10px 0;
}

/** FFdonate **/
#iframe-container {
  background-color: #F7F7F9;
  text-align: center;
  border-bottom: 2px solid #EFEFEF;
}
#ffdonationTitle img {
    max-height: 80px;
    margin: 60px auto 30px auto;
    max-width: 80%;
}
#ffdonationTitle {
    text-align: center;
    color: #00007F;
    font-size: 1.2rem;
}

#ffdonateDesc {
    background-color: #FFF;
    border: 2px solid #EFEFEF;
    max-width: 910px;
    margin: 20px auto;
    padding: 10px;
    text-align: justify;
    line-height: 23px;
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
}

#ffdonationContent {
  flex: 2 1 0;
  padding: 0 20px 0 10px;
  max-width:571px;
}
#ffdonationImg {
  flex: 1 0 0;
  text-align: right;
  padding: 10px 10px 0 0;
}

/** EXAMPLE **/
#exampleMain {
  flex: 1;
  display: grid;
  grid-template-columns: 250px 2px 1fr 2px 1fr;
  grid-template-rows: calc(100% - 1.875rem) 1.875rem;
  overflow: hidden;
}

#exampleMain h2 {
  margin: 0;
}

#orbit-spinner, #orbit-spinner * {
  box-sizing: border-box;
}

#orbit-spinner {
  height: 160px;
  width: 160px;
  border-radius: 50%;
  perspective: 800px;
  position: absolute;
  top: calc(35% - 80px);
  left: calc(50% - 80px);
  z-index: 10;
}

.orbitMsg {
  position: absolute;
  top: 60%;
  left: 54%;
  height: 30%;
  width: 50%;
  margin: -15% 0 0 -25%;
  color: #00007F;
  font-weight: 700;
}

#orbit-spinner .orbit {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

#orbit-spinner .orbit:nth-child(1) {
  left: 0%;
  top: 0%;
  animation: orbit-spinner-orbit-one-animation 1200ms linear infinite;
  border-bottom: 3px solid #00F;
}

#orbit-spinner .orbit:nth-child(2) {
  right: 0%;
  top: 0%;
  animation: orbit-spinner-orbit-two-animation 1200ms linear infinite;
  border-right: 3px solid #00F;
}

#orbit-spinner .orbit:nth-child(3) {
  right: 0%;
  bottom: 0%;
  animation: orbit-spinner-orbit-three-animation 1200ms linear infinite;
  border-top: 3px solid #00F;
}

@keyframes orbit-spinner-orbit-one-animation {
  0% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
  }
}

@keyframes orbit-spinner-orbit-two-animation {
  0% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
  }
}

@keyframes orbit-spinner-orbit-three-animation {
  0% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
  }
}

#exampleScripts {
  grid-column: 1;
  grid-row: 1/3;
  background-color: #F7F7F9;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#exampleScripts h2 {
  background-color: #EFEFEF;
  padding: .25rem 1.125rem;
  font-size: 1rem;
  position: sticky;
  top: 0;
  align-self: stretch;
  line-height: 1.25rem;
}

#exampleLinks {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: .55rem;
}

#exampleLinks a {
  padding: .1rem;
  margin: .2rem 0;
}

.gutter {
  cursor: ew-resize;
  background-color: #EFEFEF;
}

#gutter1 {
  grid-column: 2;
  grid-row: 1/3;
}

#exampleCode {
  grid-column: 3;
  grid-row: 1/3;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

#exampleCode h2 {
  background-color: #F7F7F9;
  padding: .25rem 1.125rem;
  font-size: 1rem;
  position: sticky;
  top: 0;
  align-self: stretch;
  line-height: 1.25rem;
  border-bottom: .125rem solid #F7F7F9;
  display: flex;
  justify-content: space-between;
}

#exampleSave {
  text-transform: uppercase;
  color: white;
  background-color: #00007F;
  cursor: pointer;
  padding: 0 0.25rem;
}

#codeArea {
  overflow: auto !important;
}

.CodeMirror {
  flex: 1;
  /* background-color: #EFEFEF;
    height: 31.25rem;
    overflow-y: auto;
    min-width: 300px; */
  font-size: 0.8rem;
}

/* #code {
  font-size: .8rem;
  white-space: pre-wrap;
} */
.ffjs {
  border: none;
  resize: none;
  flex: 1;
  outline: none;
}

#gutter2 {
  grid-column: 4;
  grid-row: 1/3;
}

#exampleResult {
  grid-column: 5;
  grid-row: 1/2;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

#exampleResult h2 {
  flex: 0 0 auto;
  background-color: #F7F7F9;
  padding: .25rem 1.125rem;
  font-size: 1rem;
  top: 0;
  line-height: 1.25rem;
  border-bottom: .125rem solid #F7F7F9;
}

#resultContainer {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  background-color: #FFF;
}

#exampleResult #arrow {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
}

#exampleResult #arrow-right {
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-left: 60px solid #00007F;
  position: absolute;
  z-index: 1;
}

#exampleResult #arrow-right:hover {
  border-left-color: #0000FF;
  cursor: pointer;
}

#exampleResult #arrow-text {
  border: none;
  color: white;
  font-weight: 700;
  position: absolute;
  z-index: 2;
  background-color: transparent;
  pointer-events: none;
  left: calc(100%/2 - 24px);
}

#exampleResult #arrow-text:focus {
  outline: none;
}

.ffjs_graph {
  width: 100%;
}

.sk-fading-circle {
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 3;
  left: calc(100%/2 - 28px);
}

.sk-fading-circle .sk-circle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sk-fading-circle .sk-circle:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 5%;
  height: 15%;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
  animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}

.sk-fading-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
}

.sk-fading-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}

.sk-fading-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.sk-fading-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
  -ms-transform: rotate(120deg);
  transform: rotate(120deg);
}

.sk-fading-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
  -ms-transform: rotate(150deg);
  transform: rotate(150deg);
}

.sk-fading-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.sk-fading-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
  -ms-transform: rotate(210deg);
  transform: rotate(210deg);
}

.sk-fading-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
  -ms-transform: rotate(240deg);
  transform: rotate(240deg);
}

.sk-fading-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

.sk-fading-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
  -ms-transform: rotate(300deg);
  transform: rotate(300deg);
}

.sk-fading-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
  -ms-transform: rotate(330deg);
  transform: rotate(330deg);
}

.sk-fading-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.sk-fading-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

.sk-fading-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.sk-fading-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

.sk-fading-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
  animation-delay: -0.7s;
}

.sk-fading-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
  animation-delay: -0.6s;
}

.sk-fading-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

.sk-fading-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}

.sk-fading-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
  animation-delay: -0.3s;
}

.sk-fading-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}

.sk-fading-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
  animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
  0%, 39%, 100% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }
}

@keyframes sk-circleFadeDelay {
  0%, 39%, 100% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }
}

#tryit {
  height: 100%;
}

#exampleConsole {
  grid-column: 5;
  grid-row: 2/3;
  background-color: #F7F7F9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#exampleConsole h2 {
  background-color: #F7F7F9;
  padding: .25rem 1.125rem;
  border: .125rem solid #EFEFEF;
  border-right: 0;
  border-left: 0;
  border-bottom: 0;
  font-size: 1rem;
  line-height: 1.25rem;
  order: 0;
}

#exampleConsole, #exampleResult h2:hover {
  cursor: pointer;
}

#ffjs_stdout {
  padding: .25rem 1.125rem;
  font-family: monospace;
  order: 1;
  overflow: auto;
}

.is-invisible {
  display: none !important;
}

#example2D {
  margin: 0 0.55rem;
  margin-top: auto;
}

#example2D i {
  background-color: #FFF;
  padding: 0.25rem;
  font-size: 0.5rem;
  cursor: pointer;
}

#example2D p {
  padding: .55rem 1.125rem;
  color: grey;
  margin: 0;
  background-color: #FFF;
}

#exampleGithub {
  margin: 1rem 0 1rem 0;
}

.header-github {
  grid-row: 1;
  grid-column: 3;
  justify-self: right;
  margin: 0 15px;
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: auto auto;
  grid-gap: 0 .5rem;
}

.header-github i {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 30px;
}

.header-github-title {
  grid-row: 1;
  grid-column: 1;
  justify-self: right;
  padding: 0;
  margin: 0;
  font-weight: 700;
  font-size: 0.9em;
  color: #00007F;
}

.header-github-stars {
  grid-row: 2;
  grid-column: 1;
  justify-self: right;
  padding: 0;
  margin: 0;
  font-size: 0.9em;
  display: none;
  color: #00007F;
}

.header-github:hover, .header-github-stars:hover, .header-github-title {
  color: #0000FF;
}

/** FOR TABLETS **/
@media screen and (max-width:1200px) {
  #main {
    flex-direction: column !important;
    padding: 1.875rem 0.55rem !important;
  }

  #code {
    width: 35% !important;
    height: unset !important;
    min-width: unset !important;
  }

  #blank {
    width: 65% !important;
  }

  #intro {
    order: 1;
    width: 100% !important;
    height: unset !important;
    margin-bottom: 0.5rem !important;
    padding-left: 0 !important;
  }

  #demo {
    order: 2;
    width: 100% !important;
    justify-content: stretch;
  }

  #blank video {
    width: 100% !important;
  }

  #platforms, #release, #download {
    margin: 10px !important;
  }

  #articles {
    display: block !important;
    padding: 3.75rem 0.55rem !important;
  }

  #articles article {
    margin-bottom: 1.875rem !important;
  }

  #artFirst, #artSecond {
    margin-right: 0 !important;
  }

  nav {
    width: 0;
    overflow: hidden;
    flex-direction: column !important;
    position: absolute;
    top: 3.75rem;
    background-color: #FFF;
    border-bottom: 0.125rem solid #EFEFEF;
    padding: 1.25rem 0;
  }

  nav a {
    text-align: left !important;
    margin: 0 auto 0 3.75rem;
    padding: 0.75rem 0;
  }

  #donate {
    border-top: 0.75rem solid transparent;
    background-clip: padding-box;
    border-bottom: 0.75rem solid transparent;
  }

  header a.icon {
    float: right;
    display: block !important;
  }
}

/** FOR MOBILE PHONES **/
@media screen and (max-width:600px) {
  header img {
    margin: 0 1.25rem !important;
  }

  #banner button {
    margin-right: 1.25rem !important;
    padding: 0 !important;
  }

  #main {
    padding: 1.25rem !important;
  }

  #demo {
    flex-direction: column !important;
    width: 100% !important;
  }

  #blank {
    order: 1;
    width: 100% !important;
  }

  #code {
    order: 2;
    width: 100% !important;
    height: 100% !important;
  }

  aside {
    flex-direction: column !important;
    min-height: 15.625rem;
  }

  aside p {
    margin: 0 !important;
  }

  #download {
    margin: 0 !important;
  }

  #articles {
    padding: 1.25rem !important;
  }

  #info {
    flex-direction: column !important;
  }

  #content article {
    margin: unset !important;
    padding: 1rem !important;
  }

  #content article.content-left {
    margin-right: 0 !important;
  }

  #content article.content-right {
    margin-left: 0 !important;
  }

  #content .article-img {
    width: 100px !important;
  }

  #content .article-img img {
    width: 80px !important;
  }

  #events {
    border-top: 4.7rem solid transparent;
    margin-top: -4.7rem;
    background-clip: padding-box;
    order: 1;
    width: 100% !important;
    padding: 0 !important;
  }

  #events h1 {
    margin-left: 1.25rem;
  }

  .event-grid {
    grid-template-rows: auto auto !important;
    margin: 0 1.25rem 1rem !important;
  }

  #team {
    order: 2;
    width: 100% !important;
    padding: 0 !important;
  }

  #team img {
    height: 2.5rem !important;
  }

  #ffdaysMain {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem !important;
  }

  #ffdaysTitle {
    width: 100% !important;
  }

  #ffdaysTitle img {
    height: unset !important;
    margin: unset !important;
    width: 100% !important;
  }

  #ffdaysCal {
    width: 100% !important;
  }

  #ffdaysDesc {
    width: unset !important;
    margin: 20px 10px !important;
  }

  #ffdaysDesc #download a {
    padding: 1rem 1.5rem;
  }

  .ffdays-form {
    width: 100% !important;
    height: 100% !important;
    margin: unset !important;
    padding: unset !important;
  }

  .ffdays-form iframe {
    padding: 10px !important;
    width: auto !important;
  }

  #ffdaysCal .days {
    display: flex !important;
    flex-direction: column;
    margin: 20px 10px !important;
  }

  #ffdaysCal .days .day {
    width: unset !important;
    border-right: none !important;
    border-bottom: 2px solid #EFEFEF;
    padding: 20px;
  }

  #ffdaysCal .days .program {
    width: unset !important;
    padding: 0 10px !important;
  }

  #ffdaysCal table {
    display: block !important;
    overflow-x: auto;
  }

  #ffdaysCal th, #ffdaysCal td {
    white-space: nowrap;
    border: none !important;
  }

  #ffdonationTitle img {
    margin: 30px auto 10px auto;
  }
  #ffdonateDesc {
    flex-flow: column-reverse;
  }
  #ffdonationImg {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px;
  }

  footer {
    flex-direction: column !important;
  }

  #galleryMain {
    flex-direction: column !important;
    max-height: unset !important;
  }

  #galleryTitle {
    width: unset !important;
  }

  #galleryTitle li {
    margin: 0.55rem !important;
  }

  #galleryImg {
    width: unset !important;
  }

  #galleryImg table {
    margin: 1rem;
  }

  #tryit {
    height: unset;
  }

  #exampleMain {
    grid-template-columns: 100% !important;
    grid-template-rows: auto auto auto auto auto auto !important;
    grid-row-gap: .55rem;
    background-color: #F7F7F9;
  }

  #exampleScripts {
    grid-column: 1/3 !important;
    grid-row: 1 !important;
  }

  #gutter1 {
    grid-column: 1/3 !important;
    grid-row: 2 !important;
  }

  #exampleCode {
    grid-column: 1/3 !important;
    grid-row: 3 !important;
  }

  #exampleResult {
    grid-column: 1/3 !important;
    grid-row: 5 !important;
  }

  #exampleConsole {
    grid-column: 1/3 !important;
    grid-row: 6 !important;
  }
}
